package com.yyy.dm.item;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "dm_item_type")
public class DmItemType implements Serializable {
    @TableId(value = "id")
    private Long id;
    private String itemType;
    private Long level;
    private Long parent;
    private String aliasName;
    @TableField(value = "`key`")
    private String key;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
}